package com.example.demo.modules.job.task;

import org.apache.log4j.Logger;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class TaskTest implements Job{
	//@Autowired
	//SimpMessagingTemplate template;
	public final Logger log = Logger.getLogger(this.getClass());

	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		//template.convertAndSend("/topic/getResponse", new Response("Welcome,websocket!"));
		System.out.println("我是非参数任务");
		
	}
}